import { Module } from '@nestjs/common';
import { BookingController } from './booking.controller';
import { BookingService } from './booking.service';
import { MongooseModule } from '@nestjs/mongoose'
import { bookingSchema } from './booking.shema'

@Module({
  imports: [MongooseModule.forFeature([{name: 'booking', schema: bookingSchema}])],
  controllers: [BookingController],
  providers: [BookingService]
})
export class BookingModule {}
